import 'package:flutter/material.dart';

class ErrorDot extends StatelessWidget {
  const ErrorDot({Key key}) : super(key: key);

  @override
  Widget build(BuildContext context) {
    var dot = Container(
      height: 10,
      width: 10,
      margin: EdgeInsets.fromLTRB(0, 0, 2, 0),
      decoration: BoxDecoration(
        shape: BoxShape.circle,
        color: Color.fromRGBO(255, 142, 128, 1),
        border: Border.all(
          color: Color.fromRGBO(252, 119, 101, 1),
        ),
      ),
    );

    return Row(
      children: [
        dot,
        Text(
          '答错了',
          style: TextStyle(
            color: Color.fromRGBO(136, 136, 136, 1),
          ),
        ),
      ],
    );
  }
}
